﻿<?xml version="1.0" encoding="utf-8"?>
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="6" MadCap:lastHeight="512" MadCap:lastWidth="1059">
    <head>
    </head>
    <body>
        <h1>Setup Tasks</h1>
        <p>After running <a href="Install-DownloadInstall.htm">MxPlugin  MSI</a> &#160;a set of <a href="Install-FolderFileStructure.htm">files and folders</a> will be installed on your PC. In addition, a number of setup tasks are performed as described below.</p>
        <p class="Tip">This section of the User Manual may be useful to someone who wants to write their own installation program as an alternative to MxPlugin MSI. In order to obtain the necessary <a href="Install-Overview.htm#ObtainingSourceCode">source files</a> you need to map $/mxplugin on the Team Foundation Server&#160;associated with mxplugin.codeplex.com to the  &lt;MxRootSDK&gt; folder on your PC and then perform a 'get' operation.</p>
        <h2>Installation</h2>
        <ol>
            <li>Create the basic folders as described in the <a href="Install-FolderFileStructure.htm#BasicFolders">files and folder</a> section.</li>
            <li>Copy the files into the basic folders as described in the <a href="Install-FolderFileStructure.htm#BasicFolders">files and folder</a> section. The source of these files is given in the right hand column and the destination is given in the left hand column. Copying files into the &lt;MxRoot32&gt;&#160;or &lt;MxRoot64&gt; directories requires Administrator rights.</li>
            <li>Add to PATH the folder &lt;MxRoot32&gt;Common\Bin</li>
            <li>Create the <a href="Install-WindowsRegistryUse.htm">necessary Windows registry</a> entriies.</li>
            <li>Open a command prompt as Adminiatrator and run the following commands:<ul><li><b>wevtutil im "&lt;MxRoot32&gt;Common\Config\MxUtils1Events.man"	</b></li><li><b>logman create trace MxUtilsTrace -p {86563644-640D-417E-AB6F-0F543B0428D9}</b></li></ul></li>
        </ol>
        <p class="Tip">When &lt;MxRoot32&gt; is NOT C:\Program Files (x86)\ change the locations of MxUtils1.dll in MxUtils1Events.man </p>
        <h2>Removal</h2>
        <ol>
            <li>Remove from PATH &lt;MxRoot32&gt;Common\Bin</li>
            <li>Open a command prompt as Adminiatrator and run the following commands:<ul><li><b>logman Delete MxUtilsTrace</b></li><li><b>wevtutil um "&lt;MxRoot32&gt;Common\Config\MxUtils1Events.man"</b></li></ul></li>
            <li>Remove all files and folders described in the <a href="Install-FolderFileStructure.htm">files and folders</a> section.</li>
        </ol>
    </body>
</html>